/*!
 * @author  Vladimir Kerimov
 * @file    api.h
 * @version 1.0
 * @brief   API declaration macro
 * @date    2013
 */

/*
 *    ______   __
 *   /  ___/  /__/   __  ___      _____        _____     __    __     _____        __  ___      _____     __  ___
 *  |  |___    __   /  |/   \    / __  \      /  _  \   |  |  |  |   /  _  \      |  |/   \    /  _  \   |  |/   \
 *   \___  \  /  |  |   __   |  | /  __/     |  / \  |  |  |  |  |  |  / \  |     |   __   |  |  / \  |  |   __   |
 *  ____/  /  |  |  |  /  \  |  |   /___     |  \_/  |  |   \_|  |  |  \_/  |     |  /  \  |  |  \_/  |  |  /  \  |
 * /______/   |__/  |__|  |__/   \_____/      \___   |   \___/|__|   \___/|_|     |__|  |__|   \_____/   |__|  |__|
 *                                                |  |
 *                                                |__/
 *
 */

#pragma once

#ifdef _MSC_VER
#   ifdef QUAZAR_EXPORTS
#       define QUAZAR_API   __declspec( dllexport )

#   elif defined( QUAZAR_STATIC )
#       define QUAZAR_API

#   else
#       define QUAZAR_API   __declspec( dllimport )
#   endif
#else
#       define QUAZAR_API
#endif

// remove useless warning occurs when we use template in dllexport class
#ifdef _MSC_VER
#   pragma warning( disable: 4251 )
#endif
